namespace SumerCoreDevOps.Shared.Models;

/// <summary>
/// 任务状态分布
/// </summary>
public class TaskStatusDistribution
{
    /// <summary>
    /// 等待中的任务数
    /// </summary>
    public int Pending { get; set; }

    /// <summary>
    /// 运行中的任务数
    /// </summary>
    public int Running { get; set; }

    /// <summary>
    /// 成功的任务数
    /// </summary>
    public int Success { get; set; }

    /// <summary>
    /// 失败的任务数
    /// </summary>
    public int Failed { get; set; }

    /// <summary>
    /// 已取消的任务数
    /// </summary>
    public int Cancelled { get; set; }
}
